{% extends "element/saas/base.html" %}

{% load future wenlincms_tags wlcore_tags %}

{% block extra_css %}
    <link href="{{ STATIC_URL }}{{ "opensource/miniui-3.5/themes/default/miniui.css"|file_time_stamp }}"
          rel="stylesheet" type="text/css"/>
    <link href="{{ STATIC_URL }}{{ "opensource/miniui-3.5/themes/icons.css"|file_time_stamp }}"
          rel="stylesheet" type="text/css"/>
    <link href="{{ STATIC_URL }}{{ "opensource/miniui-3.5/themes/zdgreen/skin.css"|file_time_stamp }}"
          rel="stylesheet" type="text/css"/>
    <link rel="stylesheet" href="{{ STATIC_URL }}{{ "element/saas/css/saas.css"|file_time_stamp }}">
    {% block htmlcss %}{% endblock %}
{% endblock %}

{% block extra_js %}
    <script src="{{ STATIC_URL }}{{ "opensource/miniui-3.5/miniui.js"|file_time_stamp }}"
            type="text/javascript"></script>
    <script type="application/javascript">
        mini_debugger = false;
        function getCookie(sName) {
            var aCookie = document.cookie.split("; ");
            var lastMatch = null;
            for (var i = 0; i < aCookie.length; i++) {
                var aCrumb = aCookie[i].split("=");
                if (sName == aCrumb[0]) {
                    lastMatch = aCrumb;
                }
            }
            if (lastMatch) {
                var v = lastMatch[1];
                if (v === undefined) return v;
                return unescape(v);
            }
            return null;
        }
    </script>
{% endblock %}

{% block footer_js %}
    <script src="{{ STATIC_URL }}{{ "element/saas/js/saas.js"|file_time_stamp }}"></script>
    <script src="{{ STATIC_URL }}{{ "element/saas/js/saas_mini.js"|file_time_stamp }}"></script>
{% endblock %}

